<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>steadycos</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function  </center>
    <p>
      <b>steadycos</b> -   Finds an equilibrium state of a general  dynamical system described by a scicos diagram</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[X,U,Y,XP]=steadycos(scs_m,X,U,Y,Indx,Indu,Indy [,Indxp [,param ] ])</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>scs_m</b>
        </tt>
       : a Scicos data structure
       </li>
      <li>
        <tt>
          <b>X</b>
        </tt>
       : column vector. Continuous state. Can be set to [] if zero.
       </li>
      <li>
        <tt>
          <b>U</b>
        </tt>
       : column vector. Input. Can be set to [] if zero.
       </li>
      <li>
        <tt>
          <b>Y</b>
        </tt>
       : column vector. Output. Can be set to [] if zero.
       </li>
      <li>
        <tt>
          <b>Indx</b>
        </tt>
       : index of entries of X that are not fixed. If all can vary, set to 1:$
       </li>
      <li>
        <tt>
          <b>Indu</b>
        </tt>
       : index of entries of U that are not fixed. If all can vary, set to 1:$
       </li>
      <li>
        <tt>
          <b>Indy</b>
        </tt>
       : index of entries of Y that are not fixed. If all can vary, set to 1:$
       </li>
      <li>
        <tt>
          <b>Indxp</b>
        </tt>
       : index of entries of XP (derivative of x) that need not be
    zero. If all can vary, set to 1:$. Default []. 
       </li>
      <li>
        <tt>
          <b>param</b>
        </tt>
       : list with two elements (default list(1.d-6,0)). param(1):
    scalar. Perturbation level for linearization; the following
    variation is used del([x;u])_i =
    param(1)+param(1)*1d-4*abs([x;u])_i. 
    param(2): scalar. Time t.
       </li>
      <li>
        <tt>
          <b>X</b>
        </tt>
       : steady state X
       </li>
      <li>
        <tt>
          <b>U</b>
        </tt>
       : stationary input U
       </li>
      <li>
        <tt>
          <b>Y</b>
        </tt>
       : output corresponding to steady state found
       </li>
      <li>
        <tt>
          <b>XP</b>
        </tt>
       : derivative of the state corresponding to steady state found
       </li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <dl>
      <dd>
        <b></b>
        <p>
     This function finds the steady state for a given system described
     by a Scicos diagram. The diagram consists in general of a Super
     block with input and output port blocks. The steady states
     concerns only the continuous-time dynamics.
     </p>
      </dd>
    </dl>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="lincos.htm">
        <tt>
          <b> lincos</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="scicos_simulate.htm">
        <tt>
          <b> scicos_simulate</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="scicos.htm">
        <tt>
          <b> scicos</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b>Ramine Nikoukhah</b>
      </dd>
    </dl>
    <h3>
      <font color="blue">Used Function</font>
    </h3>
     optim
     </body>
</html>
